package com.rocksea.app.entry;

import java.util.Date;

/**
 * Created by 吴志华 on 2017/7/18.
 *
 */

public class TestData {
    public static final int DY = 0;
    public static final int GY = 1;
    public static final int SC = 2;
    public static final int JZ = 3;


    public static final int JZ_BASICINFO = 0;
    public static final int JZ_SAMPLE = 1;
    public static final int JZ_LOG = 2;
    public static final int ALL = 3;


    private String pileNo;
    private String testTime;
    private int testMode;
    private String testName;
    private String seialNo;
    private String baseInfoId;
    private Date receivedDate;
    private int isLoad = 0;
    public int remoteId;
    public int currentHanmmer = 0;
    public float currentHight = 0;
    public String fileName;

    private int Jz_Type = -1;

    public TestData(String pileNo, String testTime, int testMode, String seialNo, String uuid) {
        this.baseInfoId = uuid;
        this.pileNo = pileNo;
        this.testTime = testTime;
        this.testMode = testMode;
        this.seialNo = seialNo;
        this.receivedDate = new Date();
        switch (testMode)
        {
            case 0:
                testName = "低应变";
                break;
            case 1:
                testName = "高应变";
                break;
            case 2:
                testName = "声波";
                break;
            case 3:
                testName = "静载";
                break;
            default:
                testName = "未知";
        }
    }

    private String pileLength = "-";



    public String getPileLength() {
        return pileLength;
    }

    public void setPileLength(String pileLength) {
        this.pileLength = pileLength;
    }

    public float getCurrentHight() {
        return currentHight;
    }

    public void setCurrentHight(float currentHight) {
        this.currentHight = currentHight;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public int getCurrentHanmmer() {
        return currentHanmmer;
    }

    public void setCurrentHanmmer(int currentHanmmer) {
        this.currentHanmmer = currentHanmmer;
    }

    public void setRemoteId(int remoteId) {
        this.remoteId = remoteId;
    }

    public int getRemoteId() {
        return remoteId;
    }

    public String getPileNo() {
        return pileNo;
    }

    public void setPileNo(String pileNo) {
        this.pileNo = pileNo;
    }

    public String getTestTime() {
        return testTime;
    }

    public void setTestTime(String testTime) {
        this.testTime = testTime;
    }

    public int getTestMode() {
        return testMode;
    }

    public void setTestMode(int testMode) {
        this.testMode = testMode;
    }

    public String getTestName() {
        return testName;
    }

    public String getSeialNo() {
        return seialNo;
    }

    public void setSeialNo(String seialNo) {
        this.seialNo = seialNo;
    }

    public String getBaseInfoId() {
        return baseInfoId;
    }

    public void setBaseInfoId(String baseInfoId) {
        this.baseInfoId = baseInfoId;
    }

    public Date getReceivedDate() {
        return receivedDate;
    }

    public int getIsLoad() {
        return isLoad;
    }

    public void setIsLoad(int isLoad) {
        this.isLoad = isLoad;
    }

    public int getJz_Type() {
        return Jz_Type;
    }

    public void setJz_Type(int jz_Type) {
        Jz_Type = jz_Type;
    }
}
